package com.bingo.business.map.controller;

import com.bingo.business.map.util.MapUtil;
import com.bingo.common.exception.DaoException;
import com.bingo.common.exception.ServiceException;
import com.bingo.common.utility.PubClass;
import com.bingo.common.utility.XJsonInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

import com.bingo.business.map.model.*;
import com.bingo.business.map.service.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author huangtw
 * 2018-03-27 09:49:29
 * 对象功能: 坐标转换数据 Controller管理
 */
@RestController
@RequestMapping("/api/map/mappointchange")
public class MapPointChangeController  {
	
	@Resource
    private PubClass pubClass;
    
	@Resource
	private MapPointChangeService mappointchangeService;

	public MapPointChangeController(){
		
	}
	
	/**
	 * @description: <修改、保存>
	 * @param:
	 * @throws:
	 */
	@ResponseBody
    @RequestMapping("/save")
    public XJsonInfo save(MapPointChange vo) throws ServiceException, DaoException {
        mappointchangeService.saveOrUpdate(vo);
        return new XJsonInfo();
    }

	/**
	 * @description: <删除>
	 * @param:
	 * @throws:
	 */
    @ResponseBody
    @RequestMapping("/delete")
    public XJsonInfo delete(String[] selRows) throws ServiceException, DaoException {
		for(String id:selRows){
			mappointchangeService.delete(new Long(id));
		}
        return new XJsonInfo();
    }

	/**
	 * @description: <查询>
	 * @param:
	 * @throws:
	 */
    @ResponseBody
    @RequestMapping("/query")
    public XJsonInfo query(Long id) throws ServiceException, DaoException {
        MapPointChange vo = mappointchangeService.get(id);
        if(vo==null){
            vo = new MapPointChange();
        }
        return new XJsonInfo().setData(vo);
    }

	/**
	 * @description: <分页查询>
	 * @param:
	 * @throws:
	 */
    @ResponseBody
    @RequestMapping("/findPage")
    public XJsonInfo findPage(MapPointChange vo) throws ServiceException, DaoException {
        return  new XJsonInfo().setPageData(mappointchangeService.findPage(vo));
    }


	/**
	 * 初始化广东的GPS，百度坐标系
	 * @return
	 * @throws Exception
	 */
	@ResponseBody
	@RequestMapping("/InitGuangdongArea")
	public XJsonInfo InitGuangdongArea() throws Exception {
		List<MapPoint> mapPointList = new ArrayList<MapPoint>();
		String str = "117.201318, 23.554901;117.199485, 23.605775;117.211358, 23.624021;117.21159, 23.631104;117.193083, 23.641754;117.180863, 23.640169;117.166493, 23.645807;117.154566, 23.659702;117.140002, 23.657573;117.1313, 23.652452;117.122473, 23.671491;117.096546, 23.674413;117.081252, 23.696568;117.073792, 23.694331;117.062717, 23.699754;117.056443, 23.729705;117.062185, 23.743767;117.041186, 23.79487;117.025906, 23.808681;117.025111, 23.81713;117.031927, 23.82998;117.029506, 23.844765;117.019128, 23.861423;116.992806, 23.871088;116.986615, 23.877321;116.988591, 23.88745;116.973674, 23.916617;116.980777, 23.919954;116.978773, 23.929459;116.987243, 23.947101;116.986501, 23.958717;116.989679, 23.965414;116.98023, 23.980178;116.98247, 23.996598;116.988866, 24.00552;116.97704, 24.013335;116.967838, 24.007858;116.964516, 24.009342;116.960377, 24.01405;116.962331, 24.025884;116.94759, 24.036851;116.947612, 24.04066;116.956824, 24.045067;116.959606, 24.060327;116.9452, 24.059143;116.936894, 24.07102;116.93374, 24.106288;116.949306, 24.122033;116.948186, 24.138939;116.954254, 24.140469;116.968752, 24.157385;116.981278, 24.160253;116.986969, 24.169089;116.995755, 24.172616;117.005664, 24.18656;117.000262, 24.194546;116.984862, 24.205054;116.977762, 24.204176;116.963266, 24.222627;116.952615, 24.222737;116.940345, 24.233446;116.944771, 24.237989;116.941753, 24.25553;116.948033, 24.279325;116.94238, 24.290385;116.926041, 24.293659;116.92732, 24.297448;116.922757, 24.300788;116.918998, 24.312858;116.925993, 24.326803;116.915753, 24.335215;116.913951, 24.349732;116.906027, 24.357331;116.91593, 24.363213;116.920194, 24.373022;116.910567, 24.377246;116.893288, 24.396396;116.891645, 24.402521;116.879647, 24.397472;116.870057, 24.426344;116.854683, 24.432835;116.845397, 24.448346;116.849999, 24.453157;116.848365, 24.460001;116.859804, 24.459187;116.866521, 24.469364;116.840081, 24.501849;116.827122, 24.496319;116.806032, 24.505578;116.789756, 24.52443;116.785812, 24.533845;116.787513, 24.53991;116.778701, 24.541026;116.762636, 24.556583;116.76371, 24.563818;116.775463, 24.571176;116.773842, 24.582812;116.778481, 24.587893;116.782671, 24.585355;116.786457, 24.588325;116.785921, 24.604729;116.793987, 24.620749;116.804951, 24.628691;116.80502, 24.64298;116.819109, 24.651495;116.821862, 24.660225;116.816877, 24.671143;116.807703, 24.684079;116.786081, 24.686472;116.759355, 24.660625;116.746439, 24.67347;116.728249, 24.670159;116.722816, 24.672178;116.713808, 24.670772;116.706979, 24.661342;116.696636, 24.665178;116.663081, 24.662059;116.637627, 24.645983;116.60383, 24.660206;116.594389, 24.643363;116.581618, 24.637858;116.576975, 24.627432;116.53229, 24.611114;116.513156, 24.627539;116.52407, 24.657869;116.510549, 24.674978;116.509357, 24.701843;116.494864, 24.722832;116.489676, 24.726194;116.484039, 24.722706;116.474669, 24.72512;116.463794, 24.720754;116.46256, 24.726861;116.449816, 24.739035;116.436384, 24.741214;116.433664, 24.746991;116.42359, 24.749274;116.421088, 24.760567;116.423203, 24.771965;116.430982, 24.774491;116.413553, 24.7841;116.401422, 24.809668;116.384674, 24.807768;116.381956, 24.810198;116.38681, 24.830302;116.424184, 24.846877;116.419157, 24.854003;116.410128, 24.85371;116.408881, 24.859056;116.400292, 24.863245;116.401151, 24.873548;116.396968, 24.877906;116.402213, 24.880412;116.401168, 24.884221;116.375211, 24.881397;116.356761, 24.870439;116.355016, 24.840288;116.351436, 24.833966;116.342822, 24.83129;116.340501, 24.827107;116.333362, 24.837272;116.323008, 24.821963;116.30634, 24.809087;116.271285, 24.806102;116.253535, 24.799138;116.238917, 24.807702;116.245402, 24.819031;116.257104, 24.828185;116.256488, 24.83388;116.247305, 24.836415;116.235809, 24.831703;116.228492, 24.83549;116.226214, 24.85018;116.215329, 24.861889;116.205671, 24.864709;116.199731, 24.874446;116.203015, 24.881636;116.196488, 24.887484;116.172576, 24.865943;116.147212, 24.850664;116.105986, 24.863797;116.100817, 24.857599;116.078063, 24.858915;116.073951, 24.856123;116.06888, 24.864676;116.058918, 24.867392;116.053046, 24.880348;116.046892, 24.877344;116.044995, 24.895914;116.037405, 24.90634;116.021664, 24.911785;116.0045, 24.90169;115.991481, 24.905891;115.986602, 24.922257;115.968511, 24.918152;115.962375, 24.923743;115.953846, 24.923189;115.946485, 24.929611;115.934748, 24.926763;115.923823, 24.930576;115.91481, 24.929545;115.909673, 24.939184;115.898083, 24.934611;115.891599, 24.943075;115.884922, 24.938379;115.891064, 24.906628;115.897973, 24.899135;115.907794, 24.895502;115.910866, 24.886089;115.899418, 24.873969;115.870876, 24.882537;115.867938, 24.886527;115.872094, 24.89608;115.859099, 24.899715;115.856983, 24.90602;115.838064, 24.914117;115.82756, 24.914103;115.815653, 24.89918;115.80153, 24.864631;115.791509, 24.855598;115.79842, 24.842704;115.794466, 24.839229;115.793019, 24.829667;115.779681, 24.821049;115.780138, 24.808847;115.770788, 24.797974;115.779803, 24.785189;115.773383, 24.775329;115.770299, 24.760772;115.763224, 24.754728;115.763039, 24.744802;115.779339, 24.730051;115.776038, 24.714335;115.787305, 24.708251;115.806714, 24.709014;115.813231, 24.693742;115.804877, 24.690704;115.785473, 24.692772;115.78549, 24.68705;115.770921, 24.679512;115.771777, 24.673045;115.78889, 24.667651;115.795834, 24.65116;115.793164, 24.637395;115.803185, 24.635959;115.82433, 24.609229;115.835814, 24.60724;115.847429, 24.589865;115.850115, 24.575517;115.84078, 24.568038;115.828618, 24.571486;115.817528, 24.568572;115.801641, 24.571279;115.765219, 24.559036;115.757946, 24.552438;115.7454, 24.552713;115.739141, 24.547184;115.726137, 24.545185;115.71497, 24.550865;115.692477, 24.553335;115.691202, 24.557532;115.697449, 24.569161;115.693656, 24.573174;115.6915, 24.591679;115.678035, 24.611049;115.664022, 24.61403;115.656063, 24.620721;115.64082, 24.618299;115.635577, 24.625468;115.61523, 24.631887;115.60602, 24.625865;115.590908, 24.626079;115.578305, 24.630793;115.565041, 24.65143;115.562546, 24.689002;115.540628, 24.698039;115.52998, 24.7068;115.53431, 24.718527;115.532338, 24.722367;115.522849, 24.722141;115.517399, 24.731987;115.505844, 24.735962;115.503069, 24.739714;115.50668, 24.746776;115.489438, 24.75545;115.483574, 24.768317;115.472174, 24.773305;115.457385, 24.772583;115.429692, 24.787242;115.401381, 24.783187;115.387923, 24.776628;115.379091, 24.78009;115.369349, 24.763238;115.370327, 24.745104;115.367145, 24.741147;115.345468, 24.755272;115.328406, 24.755069;115.313121, 24.764931;115.28508, 24.759937;115.276481, 24.755083;115.267402, 24.735404;115.256293, 24.737576;115.245769, 24.733919;115.233579, 24.73512;115.222841, 24.726736;115.204185, 24.722712;115.197485, 24.71813;115.192441, 24.707603;115.201519, 24.698237;115.18162, 24.697988;115.177083, 24.695351;115.167714, 24.697958;115.161928, 24.690159;115.152536, 24.691979;115.145476, 24.687688;115.133691, 24.687524;115.130396, 24.678838;115.134951, 24.678906;115.135114, 24.676039;115.126459, 24.669168;115.113961, 24.669853;115.110291, 24.680266;115.102424, 24.683324;115.104384, 24.687947;115.099505, 24.686015;115.08896, 24.706753;115.055139, 24.708532;115.046445, 24.704822;115.048515, 24.697811;115.032812, 24.687666;115.029876, 24.677734;115.009302, 24.685589;114.997687, 24.685642;114.991415, 24.679902;114.968724, 24.671482;114.95743, 24.659197;114.946577, 24.656353;114.942407, 24.661222;114.943225, 24.671546;114.919909, 24.670713;114.914272, 24.661687;114.9149, 24.649675;114.90927, 24.644102;114.912405, 24.638205;114.905098, 24.628641;114.908425, 24.613582;114.898808, 24.595672;114.899009, 24.588233;114.893162, 24.585989;114.889396, 24.574972;114.874968, 24.568152;114.860944, 24.584381;114.859892, 24.59125;114.846955, 24.601062;114.842164, 24.595333;114.832582, 24.594115;114.78954, 24.618681;114.784744, 24.612567;114.775531, 24.611467;114.759184, 24.622186;114.742176, 24.619376;114.7363, 24.615226;114.74239, 24.589986;114.739468, 24.580088;114.744529, 24.571263;114.739285, 24.568844;114.733041, 24.556106;114.728627, 24.560678;114.723609, 24.559133;114.711596, 24.532318;114.70633, 24.54327;114.692125, 24.545437;114.678655, 24.572247;114.67842, 24.581598;114.671702, 24.589337;114.643198, 24.575677;114.630781, 24.581763;114.614661, 24.569889;114.598879, 24.544279;114.578652, 24.548333;114.569106, 24.543363;114.556604, 24.546797;114.538155, 24.564498;114.529636, 24.554657;114.511263, 24.547319;114.507119, 24.540325;114.498966, 24.540809;114.487515, 24.536288;114.476377, 24.51698;114.449224, 24.504522;114.435344, 24.491938;114.428833, 24.502547;114.420896, 24.503679;114.417521, 24.508265;114.408759, 24.503948;114.412838, 24.523718;114.407918, 24.540146;114.395973, 24.540303;114.393576, 24.555015;114.398109, 24.569438;114.384046, 24.571147;114.382963, 24.578206;114.372038, 24.583981;114.365497, 24.596177;114.351726, 24.593723;114.342131, 24.595619;114.335502, 24.587644;114.318868, 24.580241;114.311149, 24.580518;114.306478, 24.594026;114.297631, 24.605845;114.300043, 24.625117;114.294768, 24.63104;114.288476, 24.632432;114.285507, 24.637418;114.272495, 24.637007;114.268445, 24.64755;114.260053, 24.648195;114.23426, 24.660881;114.200775, 24.659474;114.197553, 24.672785;114.185414, 24.677844;114.211334, 24.694782;114.247587, 24.694784;114.253797, 24.705095;114.263872, 24.703507;114.290502, 24.711403;114.292296, 24.735446;114.312219, 24.737013;114.326197, 24.748124;114.341017, 24.753813;114.357372, 24.785439;114.35208, 24.79432;114.35242, 24.807294;114.342752, 24.814342;114.363858, 24.825006;114.362972, 24.835304;114.370489, 24.845271;114.370678, 24.850806;114.381572, 24.860708;114.387199, 24.874975;114.41051, 24.883483;114.408532, 24.9028;114.392275, 24.913317;114.393678, 24.928211;114.405428, 24.936864;114.402415, 24.957002;114.422162, 24.963022;114.428202, 24.977589;114.455123, 24.986;114.464231, 24.994988;114.463154, 25.003311;114.488383, 25.012486;114.492754, 25.007666;114.510881, 25.008384;114.518114, 25.018577;114.521334, 25.035293;114.539881, 25.025318;114.544271, 25.026441;114.548143, 25.044338;114.546626, 25.053473;114.567436, 25.074393;114.566942, 25.094182;114.582394, 25.094065;114.581369, 25.087961;114.595999, 25.084568;114.598723, 25.078137;114.602895, 25.076857;114.614149, 25.081665;114.632688, 25.080281;114.63882, 25.083648;114.652972, 25.08133;114.662332, 25.086715;114.664681, 25.095806;114.67887, 25.093182;114.678443, 25.09679;114.67106, 25.098818;114.670213, 25.101859;114.674216, 25.106245;114.680316, 25.103856;114.676937, 25.11293;114.680704, 25.11926;114.689735, 25.116386;114.696016, 25.119553;114.715129, 25.114579;114.722467, 25.120919;114.742041, 25.128274;114.743486, 25.138715;114.73268, 25.156117;114.73055, 25.165824;114.721279, 25.169991;114.710148, 25.169669;114.705311, 25.174159;114.700693, 25.172539;114.689141, 25.178964;114.698154, 25.186772;114.693114, 25.194869;114.70528, 25.201592;114.7122, 25.211436;114.705057, 25.225053;114.716404, 25.226373;114.73712, 25.245584;114.751813, 25.248564;114.748401, 25.282627;114.73089, 25.291431;114.73257, 25.296778;114.727876, 25.303079;114.727517, 25.310755;114.713644, 25.318707;114.706513, 25.327203;114.699795, 25.328038;114.691183, 25.319083;114.675641, 25.332605;114.642924, 25.330417;114.634044, 25.336658;114.632354, 25.344902;114.625377, 25.350536;114.617985, 25.364548;114.604704, 25.367247;114.608901, 25.376208;114.593123, 25.379355;114.592692, 25.383349;114.598773, 25.389123;114.598127, 25.394834;114.593298, 25.39745;114.588192, 25.390823;114.58261, 25.389856;114.57925, 25.393601;114.57985, 25.40542;114.563486, 25.41255;114.555495, 25.421394;114.53971, 25.420993;114.53236, 25.407934;114.520114, 25.40945;114.513798, 25.40347;114.517417, 25.390844;114.514046, 25.387094;114.504138, 25.386498;114.485429, 25.377678;114.454394, 25.391184;114.452731, 25.387152;114.445196, 25.388355;114.440619, 25.378184;114.443156, 25.369642;114.434623, 25.34704;114.425612, 25.341079;114.40961, 25.340022;114.404146, 25.332068;114.392323, 25.331278;114.38558, 25.323338;114.379015, 25.331423;114.37078, 25.333927;114.34973, 25.336;114.325795, 25.332427;114.312551, 25.335273;114.310701, 25.321317;114.318915, 25.316833;114.319557, 25.312077;114.312234, 25.305104;114.312888, 25.299577;114.30617, 25.295702;114.289295, 25.296888;114.286306, 25.30648;114.277452, 25.30525;114.273412, 25.312571;114.262886, 25.309427;114.258912, 25.301238;114.227455, 25.308302;114.206826, 25.305027;114.198083, 25.300107;114.178004, 25.312285;114.171488, 25.320355;114.147001, 25.313813;114.139865, 25.319429;114.132764, 25.318692;114.092896, 25.285816;114.058185, 25.278411;114.056137, 25.268959;114.04434, 25.256209;114.03528, 25.259357;114.035243, 25.26622;114.020985, 25.286739;114.031088, 25.293155;114.033956, 25.308962;114.040463, 25.314818;114.040411, 25.327401;114.032372, 25.335866;114.032988, 25.339299;114.043704, 25.345498;114.051851, 25.35651;114.051819, 25.361268;114.042729, 25.368766;114.048999, 25.374633;114.043108, 25.37563;114.036536, 25.383508;114.051612, 25.395017;114.049287, 25.397695;114.039609, 25.397391;114.029543, 25.390809;114.020191, 25.3899;114.014239, 25.403461;113.99413, 25.409767;113.989735, 25.421496;114.009381, 25.439139;114.011514, 25.444651;114.007095, 25.44998;113.998441, 25.448612;113.968404, 25.458388;113.959132, 25.449509;113.945004, 25.442592;113.936578, 25.445678;113.922628, 25.443016;113.910178, 25.447057;113.893304, 25.442914;113.890767, 25.437415;113.898941, 25.419076;113.888619, 25.414782;113.890291, 25.403932;113.88377, 25.394442;113.884402, 25.387974;113.867427, 25.375489;113.84631, 25.369283;113.840024, 25.3597;113.839395, 25.349607;113.827635, 25.336052;113.80872, 25.334885;113.800717, 25.337885;113.778588, 25.33464;113.772067, 25.343259;113.772286, 25.353729;113.764367, 25.359181;113.756734, 25.371009;113.748554, 25.364259;113.744362, 25.355427;113.729681, 25.365244;113.715191, 25.357603;113.697283, 25.358517;113.685852, 25.34141;113.668671, 25.343201;113.665815, 25.337525;113.655514, 25.333359;113.652198, 25.33754;113.645856, 25.338402;113.619904, 25.33246;113.615819, 25.336579;113.608283, 25.328065;113.592974, 25.320629;113.586349, 25.322275;113.589914, 25.337515;113.588019, 25.348364;113.559804, 25.360077;113.556151, 25.393971;113.530768, 25.359923;113.521522, 25.36698;113.524764, 25.375736;113.510608, 25.381167;113.501, 25.378749;113.488248, 25.381776;113.479279, 25.37175;113.468999, 25.375499;113.460411, 25.367701;113.452423, 25.365296;113.434244, 25.379275;113.430594, 25.398762;113.424875, 25.404739;113.413474, 25.407695;113.40211, 25.403301;113.394728, 25.410083;113.381079, 25.40717;113.373443, 25.437107;113.366286, 25.444201;113.359348, 25.442546;113.346674, 25.455562;113.332724, 25.455778;113.320457, 25.448853;113.322511, 25.473409;113.315454, 25.491407;113.320094, 25.498204;113.303284, 25.514596;113.312169, 25.517919;113.309819, 25.521954;113.298163, 25.522642;113.295032, 25.514272;113.297398, 25.505876;113.291485, 25.504182;113.276904, 25.512294;113.270597, 25.506621;113.265147, 25.507525;113.256487, 25.519404;113.235923, 25.516717;113.22187, 25.50732;113.208893, 25.488361;113.193299, 25.482878;113.18022, 25.482483;113.145959, 25.493573;113.139557, 25.458361;113.131778, 25.453008;113.140459, 25.441219;113.136926, 25.43257;113.138029, 25.42077;113.134894, 25.419172;113.117643, 25.427624;113.108538, 25.427244;113.09706, 25.40838;113.086381, 25.400757;113.083275, 25.385224;113.074556, 25.383934;113.067801, 25.388849;113.060181, 25.389097;113.055216, 25.376695;113.042936, 25.373656;113.038572, 25.364065;113.027033, 25.354301;112.992253, 25.359997;112.982148, 25.353998;112.981566, 25.345989;112.961665, 25.346447;112.951578, 25.332425;112.938272, 25.329088;112.940872, 25.316483;112.934599, 25.305819;112.911001, 25.310364;112.904186, 25.329117;112.904957, 25.340577;112.900315, 25.345055;112.880061, 25.331845;112.869515, 25.340869;112.860716, 25.335688;112.860505, 25.33016;112.867423, 25.326208;112.86742, 25.318394;112.858945, 25.314125;112.865917, 25.309552;112.877252, 25.279323;112.872282, 25.271056;112.870317, 25.253872;112.887492, 25.255469;112.900969, 25.246052;112.910626, 25.244542;112.948873, 25.257483;112.992436, 25.256816;113.004066, 25.249594;113.024223, 25.217295;113.036223, 25.216794;113.041118, 25.205995;113.031885, 25.198021;113.012772, 25.194871;113.005449, 25.187246;112.98088, 25.173918;112.977744, 25.168765;112.979491, 25.160748;112.976197, 25.148157;112.988351, 25.129722;112.99767, 25.122603;112.997717, 25.115167;113.006156, 25.108868;113.011062, 25.095063;113.02458, 25.089529;113.007852, 25.076787;113.006154, 25.069588;113.008858, 25.064638;113.004948, 25.05839;112.984026, 25.063107;112.981095, 25.047429;112.974658, 25.038287;112.965917, 25.033632;112.960769, 25.020958;112.95358, 25.017385;112.952215, 25.002974;112.971458, 24.993938;112.989514, 24.968938;113.009834, 24.963484;112.99882, 24.954047;113.000612, 24.935387;112.975906, 24.927743;112.963835, 24.928944;112.948265, 24.922047;112.941687, 24.927453;112.929292, 24.92519;112.910823, 24.928055;112.885846, 24.913607;112.880072, 24.902438;112.876534, 24.901431;112.85054, 24.903128;112.840273, 24.899055;112.831012, 24.9009;112.808582, 24.896859;112.78762, 24.902735;112.793148, 24.91753;112.788675, 24.928907;112.790441, 24.946312;112.782239, 24.955121;112.750377, 24.964251;112.748793, 24.983142;112.752115, 24.988524;112.748444, 25.005385;112.751538, 25.0121;112.716002, 25.017839;112.711675, 25.021311;112.717212, 25.04245;112.725824, 25.047731;112.723644, 25.055956;112.73203, 25.062791;112.731566, 25.067558;112.715218, 25.080461;112.694724, 25.110338;112.678036, 25.115131;112.674347, 25.128425;112.666264, 25.138936;112.652616, 25.139895;112.646276, 25.144695;112.631268, 25.132941;112.611031, 25.135719;112.603054, 25.132144;112.593973, 25.133567;112.576323, 25.130051;112.55865, 25.134905;112.547369, 25.132792;112.528263, 25.143043;112.51387, 25.143563;112.506787, 25.151271;112.497606, 25.150148;112.484011, 25.157231;112.462332, 25.158187;112.46128, 25.179718;112.451318, 25.192081;112.437147, 25.181523;112.433625, 25.164586;112.422602, 25.150054;112.41838, 25.146394;112.409162, 25.145735;112.395817, 25.1546;112.393956, 25.15783;112.399298, 25.167932;112.381131, 25.18169;112.37745, 25.192776;112.371371, 25.197445;112.361202, 25.194993;112.338853, 25.180797;112.321563, 25.18132;112.311945, 25.163587;112.293494, 25.164908;112.287882, 25.170748;112.26263, 25.165012;112.261494, 25.179107;112.249304, 25.18273;112.245369, 25.190243;112.232347, 25.196652;112.228792, 25.199978;112.230928, 25.202784;112.221916, 25.207941;112.221014, 25.20186;112.213481, 25.195263;112.193814, 25.189337;112.199594, 25.178486;112.189777, 25.155043;112.190982, 25.148388;112.180654, 25.135553;112.18395, 25.129293;112.18362, 25.113488;112.172357, 25.090902;112.169921, 25.075256;112.158726, 25.061662;112.160106, 25.051192;112.155237, 25.042608;112.162283, 25.03273;112.141261, 25.0015;112.129312, 24.996244;112.127673, 24.99057;112.126593, 24.969524;112.13134, 24.967122;112.133864, 24.959101;112.157773, 24.938348;112.163857, 24.939281;112.181673, 24.933581;112.171877, 24.889515;112.171429, 24.874257;112.177603, 24.86873;112.167588, 24.855172;112.154238, 24.856174;112.141759, 24.847752;112.13062, 24.846859;112.12336, 24.839629;112.102219, 24.831461;112.102941, 24.823434;112.092721, 24.813166;112.060686, 24.794944;112.041464, 24.778221;112.037084, 24.750777;112.020547, 24.737159;112.005689, 24.738944;111.97157, 24.730515;111.967757, 24.727506;111.959229, 24.702622;111.943179, 24.687147;111.959333, 24.680771;111.964235, 24.656045;111.949333, 24.648422;111.940798, 24.64798;111.934639, 24.638402;111.944943, 24.615651;111.942066, 24.600037;111.953777, 24.599202;111.964816, 24.588563;111.977906, 24.5832;111.990613, 24.562662;112.013957, 24.540269;112.011779, 24.514957;112.016288, 24.505916;112.009576, 24.503554;111.994535, 24.487869;111.992071, 24.472657;112.003066, 24.465142;112.007738, 24.454921;112.029745, 24.447186;112.031109, 24.43973;112.037093, 24.435728;112.048707, 24.416134;112.047092, 24.403152;112.052822, 24.396526;112.064211, 24.393201;112.068332, 24.374333;112.06587, 24.345879;112.054944, 24.336037;112.051713, 24.326655;112.03726, 24.315657;112.0346, 24.301918;112.022522, 24.299667;112.007365, 24.286341;111.996925, 24.285795;111.996958, 24.271501;111.992677, 24.26301;111.98244, 24.261304;111.975475, 24.269993;111.966113, 24.270643;111.961584, 24.275433;111.959107, 24.257886;111.946565, 24.249998;111.949174, 24.243349;111.946822, 24.23704;111.93259, 24.242427;111.919352, 24.227465;111.900032, 24.229873;111.889045, 24.235807;111.883593, 24.233082;111.877724, 24.182544;111.895119, 24.165385;111.885338, 24.132673;111.885207, 24.115929;111.890631, 24.098119;111.885198, 24.090057;111.900847, 24.079089;111.912917, 24.054221;111.926521, 24.045493;111.930374, 24.014259;111.947304, 23.990344;111.930145, 23.971673;111.92834, 23.961529;111.917355, 23.95714;111.918425, 23.952203;111.915316, 23.949495;111.904064, 23.952283;111.882854, 23.943668;111.870688, 23.952416;111.860871, 23.953676;111.856157, 23.943031;111.867058, 23.933399;111.863415, 23.916288;111.844748, 23.906251;111.835402, 23.907131;111.819725, 23.893695;111.825419, 23.874931;111.834372, 23.866881;111.835446, 23.859454;111.829089, 23.849255;111.831229, 23.838612;111.816541, 23.827335;111.815675, 23.815728;111.802782, 23.821479;111.795991, 23.814507;111.782487, 23.814421;111.741663, 23.830971;111.72915, 23.830412;111.72009, 23.843495;111.704077, 23.843003;111.699847, 23.825349;111.691496, 23.830294;111.684646, 23.828985;111.671023, 23.840571;111.661437, 23.838974;111.646359, 23.792863;111.63598, 23.782846;111.637095, 23.743145;111.627903, 23.742851;111.624378, 23.739442;111.635331, 23.728466;111.647228, 23.729507;111.673344, 23.724615;111.670783, 23.706845;111.648325, 23.698407;111.640739, 23.68244;111.631967, 23.681569;111.62514, 23.673811;111.62332, 23.666377;111.617512, 23.661635;111.623453, 23.646907;111.616176, 23.6437;111.595954, 23.653092;111.574302, 23.640807;111.559785, 23.646622;111.542477, 23.634442;111.536864, 23.635974;111.520271, 23.631356;111.508574, 23.638188;111.493871, 23.632566;111.490528, 23.611764;111.496485, 23.595335;111.496738, 23.570339;111.488507, 23.56347;111.485155, 23.543599;111.478182, 23.536078;111.472123, 23.518036;111.459191, 23.508025;111.430573, 23.4727;111.406648, 23.473811;111.399363, 23.453435;111.402164, 23.444244;111.395321, 23.419086;111.387508, 23.406531;111.398631, 23.397095;111.396869, 23.384878;111.384449, 23.375798;111.379803, 23.361478;111.371182, 23.350195;111.368424, 23.336616;111.372066, 23.326135;111.384063, 23.320107;111.38466, 23.31525;111.37172, 23.297477;111.363434, 23.294339;111.361206, 23.288376;111.366485, 23.2789;111.384275, 23.265579;111.384113, 23.261182;111.37747, 23.25947;111.375924, 23.247628;111.37136, 23.246459;111.379154, 23.236938;111.380737, 23.225476;111.395403, 23.216236;111.39078, 23.200218;111.390345, 23.180541;111.405238, 23.165727;111.396772, 23.159101;111.385117, 23.159743;111.38306, 23.157075;111.382256, 23.092311;111.400324, 23.074252;111.420464, 23.073817;111.436856, 23.067497;111.433196, 23.060363;111.437881, 23.053715;111.437444, 23.046195;111.415326, 23.02145;111.397758, 23.012935;111.400783, 23.003231;111.409283, 22.997442;111.403741, 22.987184;111.381764, 22.975051;111.369588, 22.974355;111.374861, 22.960975;111.372993, 22.952956;111.380894, 22.944698;111.381713, 22.935144;111.366322, 22.910737;111.365287, 22.897363;111.344393, 22.874928;111.33177, 22.872164;111.311132, 22.847779;111.311143, 22.842046;111.297097, 22.824842;111.297528, 22.810712;111.284675, 22.807383;111.27637, 22.794506;111.263718, 22.799062;111.261229, 22.792776;111.243241, 22.780208;111.242011, 22.770458;111.23482, 22.761222;111.224534, 22.754963;111.21013, 22.755635;111.208305, 22.747206;111.203381, 22.7435;111.184028, 22.741044;111.170168, 22.746088;111.149511, 22.742934;111.12968, 22.748058;111.10563, 22.747223;111.101559, 22.739513;111.092974, 22.736081;111.063412, 22.736053;111.069621, 22.728068;111.088548, 22.717289;111.096192, 22.696851;111.081313, 22.674213;111.067991, 22.671541;111.066173, 22.6595;111.062482, 22.656803;111.04684, 22.655102;111.034815, 22.663114;111.029383, 22.662192;111.014814, 22.645756;110.997615, 22.639587;110.993536, 22.646039;110.971225, 22.642762;110.961754, 22.64439;110.968202, 22.626172;110.954913, 22.615245;110.938979, 22.612864;110.903403, 22.618771;110.904479, 22.598194;110.890752, 22.587957;110.867764, 22.593914;110.857045, 22.588131;110.835334, 22.595059;110.836308, 22.588385;110.818963, 22.581861;110.812695, 22.573024;110.812832, 22.565219;110.807234, 22.562855;110.80013, 22.577316;110.789229, 22.584433;110.785156, 22.591576;110.778349, 22.593796;110.775833, 22.589078;110.767162, 22.589184;110.77334, 22.563225;110.758504, 22.564651;110.754567, 22.561018;110.765205, 22.552637;110.760986, 22.540464;110.768491, 22.524248;110.756948, 22.523338;110.752539, 22.51056;110.746952, 22.505002;110.746034, 22.490906;110.754404, 22.482018;110.75125, 22.472295;110.72756, 22.466902;110.711738, 22.472135;110.700247, 22.48285;110.694874, 22.48348;110.69008, 22.479182;110.694921, 22.461519;110.713916, 22.451596;110.722201, 22.437044;110.720056, 22.420333;110.712752, 22.410387;110.722183, 22.397497;110.716034, 22.384187;110.718124, 22.375363;110.727872, 22.365528;110.735927, 22.37234;110.748862, 22.367072;110.757002, 22.350015;110.755926, 22.33605;110.775866, 22.323789;110.774964, 22.318439;110.781384, 22.307499;110.779607, 22.30064;110.789822, 22.302124;110.796202, 22.292688;110.791002, 22.28689;110.78152, 22.287282;110.776126, 22.282812;110.765198, 22.281015;110.75865, 22.28579;110.748171, 22.285543;110.729588, 22.30112;110.716079, 22.281024;110.706404, 22.281404;110.700815, 22.278205;110.695177, 22.268941;110.699072, 22.264146;110.698004, 22.258441;110.692608, 22.254328;110.661311, 22.246172;110.653336, 22.227048;110.660233, 22.211732;110.67305, 22.210548;110.672141, 22.201048;110.681815, 22.194376;110.682361, 22.184846;110.6769, 22.174105;110.667163, 22.170496;110.657247, 22.171414;110.645812, 22.157049;110.635321, 22.156653;110.626335, 22.165333;110.609502, 22.161502;110.606042, 22.166793;110.610079, 22.187777;110.585315, 22.200215;110.56539, 22.201316;110.556713, 22.198289;110.553771, 22.189979;110.546328, 22.185007;110.544837, 22.176661;110.533943, 22.170072;110.53776, 22.161955;110.533214, 22.156883;110.522951, 22.155451;110.511251, 22.147826;110.505545, 22.151407;110.496954, 22.149422;110.490844, 22.153924;110.489629, 22.1562;110.49599, 22.160833;110.48744, 22.16665;110.483394, 22.175179;110.468905, 22.182392;110.458161, 22.195662;110.452563, 22.19724;110.450134, 22.20432;110.422174, 22.215758;110.416159, 22.209944;110.414829, 22.194527;110.397117, 22.190581;110.398886, 22.177256;110.390648, 22.172248;110.382444, 22.17234;110.373055, 22.182095;110.365261, 22.18408;110.363879, 22.194161;110.357754, 22.200379;110.349897, 22.194817;110.349029, 22.186632;110.342453, 22.189118;110.341361, 22.177506;110.331823, 22.168652;110.333433, 22.15759;110.340641, 22.154667;110.339999, 22.148391;110.345972, 22.148555;110.354792, 22.139428;110.366088, 22.138967;110.370777, 22.130848;110.367839, 22.116909;110.37193, 22.114878;110.371496, 22.109534;110.360387, 22.104256;110.357671, 22.09699;110.363377, 22.08924;110.358554, 22.073006;110.358852, 22.0513;110.354304, 22.043901;110.357543, 22.032442;110.365321, 22.024906;110.370075, 22.01278;110.368917, 22.010477;110.361177, 22.014188;110.364844, 22.003056;110.360994, 21.983118;110.36469, 21.978871;110.382062, 21.97502;110.396956, 21.958138;110.384187, 21.948935;110.38003, 21.939537;110.391706, 21.936425;110.394942, 21.924549;110.402489, 21.918724;110.395709, 21.897591;110.351901, 21.896225;110.335704, 21.892288;110.316793, 21.91325;110.296826, 21.924551;110.29359, 21.923429;110.288524, 21.899346;110.273596, 21.897681;110.265503, 21.889261;110.248442, 21.885078;110.232782, 21.887628;110.226027, 21.885032;110.217551, 21.891384;110.21569, 21.9003;110.19134, 21.901256;110.184399, 21.904961;110.174397, 21.902213;110.155804, 21.903348;110.146333, 21.889757;110.127442, 21.907653;110.113209, 21.888258;110.114151, 21.875786;110.101652, 21.89024;110.086875, 21.872002;110.072202, 21.864165;110.057505, 21.86403;110.03896, 21.878901;110.012777, 21.881707;110.003831, 21.889555;109.995364, 21.887843;109.985219, 21.873992;109.949223, 21.852193;109.958512, 21.84791;109.951558, 21.841113;109.955377, 21.830016;109.942965, 21.813514;109.942245, 21.796311;109.946956, 21.773601;109.938975, 21.759042;109.943793, 21.74509;109.93317, 21.734112;109.929078, 21.719701;109.916001, 21.698457;109.919895, 21.689486;109.917326, 21.670922;109.907708, 21.658589;109.889959, 21.655112;109.881054, 21.662998;109.867469, 21.649407;109.861418, 21.652887;109.844902, 21.642835;109.825819, 21.64528;109.817809, 21.649665;109.810777, 21.640524;109.804465, 21.646119;109.793279, 21.645453;109.784394, 21.661601;109.782396, 21.675215;109.777562, 21.677108;109.773253, 21.67393;109.766631, 21.646401;109.754284, 21.627428;109.753904, 21.600881;109.761634, 21.57974;109.761391, 21.563234;109.776955, 21.540428;109.778721, 21.520098;109.794544, 21.496539;109.792545, 21.446574;109.798449, 21.425694;109.773477, 21.404147;109.764218, 21.383717;109.764774, 21.305213;109.750768, 21.263535;109.72546, 21.225857;109.691502, 21.193028;109.674296, 21.182629;109.647397, 21.147784;109.645654, 21.119669;109.658547, 21.049696;109.638191, 20.965968;109.636498, 20.898331;109.640476, 20.858824;109.667231, 20.727629;109.693628, 20.63728;109.705128, 20.609675;109.743374, 20.543677;109.760308, 20.522275;109.806235, 20.491993;109.80767, 20.459508;109.813328, 20.439138;109.828017, 20.40842;109.84498, 20.387758;109.855161, 20.368392;109.868751, 20.32763;109.878863, 20.258734;109.878196, 20.218009;109.85351, 20.162976;109.827842, 20.119521;109.824482, 20.065795;109.97726, 20.081027;110.032059, 20.091662;110.202477, 20.107885;110.359726, 20.13349;110.459561, 20.179852;110.501767, 20.205831;110.61987, 20.254476;110.611112, 20.303029;110.619726, 20.327137;110.624215, 20.359985;110.62422, 20.393896;110.603908, 20.481723;110.577959, 20.55231;110.492149, 20.700867;110.474124, 20.723861;110.443438, 20.740976;110.466329, 20.773088;110.477647, 20.804155;110.485934, 20.85198;110.481744, 20.881733;110.52928, 20.852121;110.575675, 20.843491;110.653663, 20.842963;110.676392, 20.848352;110.708211, 20.868434;110.717285, 20.885464;110.716171, 20.905813;110.705977, 20.926114;110.678685, 20.952365;110.668437, 20.96722;110.652564, 21.020534;110.657084, 21.074795;110.676432, 21.13223;110.67758, 21.170102;110.667652, 21.196255;110.682089, 21.245289;110.693701, 21.266685;110.735245, 21.317726;110.765966, 21.343462;110.779831, 21.348762;111.087571, 21.360811;111.154046, 21.345244;111.261583, 21.344907;111.330225, 21.35464;111.377188, 21.373571;111.392643, 21.386444;111.41888, 21.416829;111.434229, 21.451413;111.439217, 21.477557;111.456453, 21.472448;111.477886, 21.475395;111.493233, 21.486128;111.507099, 21.503623;111.514009, 21.506556;111.699303, 21.508043;111.747803, 21.52435;111.758603, 21.532623;111.761052, 21.541559;111.780951, 21.525414;111.808567, 21.515575;111.893016, 21.509935;112.194562, 21.513408;112.218351, 21.51721;112.239143, 21.530704;112.252228, 21.547407;112.254956, 21.569273;112.259686, 21.560471;112.272934, 21.553089;112.323059, 21.55422;112.325859, 21.523471;112.339816, 21.473154;112.360386, 21.45505;112.396236, 21.449133;112.434083, 21.459944;112.483514, 21.486938;112.538485, 21.551724;112.57104, 21.570001;112.596454, 21.564382;112.631901, 21.564062;112.713496, 21.584561;112.727403, 21.58281;112.768181, 21.562881;112.791175, 21.555558;112.828053, 21.55272;112.879568, 21.556069;112.91328, 21.571174;112.947952, 21.595685;112.955702, 21.610945;112.95726, 21.625527;112.951824, 21.678259;112.964962, 21.698811;113.039739, 21.740999;113.062127, 21.763257;113.069076, 21.77777;113.069229, 21.847371;113.0851, 21.83833;113.190904, 21.839923;113.256598, 21.848974;113.337904, 21.872969;113.351774, 21.882199;113.373277, 21.904022;113.405511, 21.946721;113.440199, 21.973974;113.509169, 22.01713;113.567482, 22.034639;113.584398, 22.036767;113.601281, 22.034542;113.612779, 22.025498;113.627358, 22.004236;113.649606, 21.945995;113.667347, 21.929704;113.704421, 21.914676;113.745883, 21.909464;113.83196, 21.91428;113.85645, 21.905339;113.884017, 21.875667;113.904741, 21.830924;113.92401, 21.802159;113.941747, 21.789677;113.959447, 21.785928;113.977871, 21.7878;113.990159, 21.79572;114.004005, 21.81355;114.008658, 21.85661;114.018704, 21.881942;114.031063, 21.898706;114.081163, 21.935361;114.150258, 21.96491;114.357702, 21.995833;114.399325, 22.012437;114.411649, 22.032226;114.417799, 22.053679;114.410112, 22.082974;114.39782, 22.103161;114.340195, 22.151858;114.295318, 22.15143;114.265765, 22.142124;114.247208, 22.152037;113.950925, 22.151199;113.933743, 22.139505;113.907831, 22.145711;113.843846, 22.186748;113.828673, 22.219843;113.850441, 22.270685;113.858777, 22.276198;113.880412, 22.336642;113.880408, 22.432119;113.959233, 22.475107;114.006482, 22.513987;114.024001, 22.503929;114.035254, 22.511034;114.063616, 22.505174;114.075536, 22.519415;114.083843, 22.521347;114.088923, 22.518334;114.094455, 22.522133;114.096798, 22.527082;114.089991, 22.532938;114.100191, 22.539499;114.11498, 22.538816;114.115212, 22.535079;114.120853, 22.540188;114.12383, 22.533236;114.142217, 22.545383;114.159906, 22.544838;114.163618, 22.557917;114.168209, 22.558096;114.172756, 22.564797;114.175418, 22.561995;114.188472, 22.562595;114.192419, 22.556781;114.211849, 22.560456;114.230408, 22.558209;114.238782, 22.547406;114.254208, 22.556746;114.287354, 22.568487;114.344335, 22.571743;114.445384, 22.565132;114.466412, 22.548422;114.466199, 22.472177;114.480932, 22.439975;114.505021, 22.42381;114.513321, 22.421695;114.525647, 22.421381;114.568872, 22.436284;114.565396, 22.425928;114.569721, 22.415324;114.598727, 22.397552;114.629534, 22.386602;114.674288, 22.38008;114.714233, 22.382282;114.723451, 22.386991;114.727598, 22.393592;114.727347, 22.401404;114.702215, 22.507119;114.756864, 22.522904;114.849474, 22.505559;114.864125, 22.506377;114.896405, 22.512667;114.933469, 22.525611;114.943213, 22.535563;114.953006, 22.57968;114.967675, 22.613979;115.005961, 22.670224;115.016776, 22.679892;115.04909, 22.692851;115.089124, 22.703656;115.197929, 22.713978;115.290263, 22.718673;115.337144, 22.705477;115.371479, 22.687412;115.41929, 22.65892;115.470009, 22.622777;115.492482, 22.617465;115.565387, 22.620798;115.589794, 22.629325;115.620131, 22.651337;115.636752, 22.680688;115.645556, 22.709143;115.651377, 22.758088;115.650373, 22.776446;115.807655, 22.709312;115.833036, 22.702144;115.86722, 22.700693;115.903211, 22.707964;115.935402, 22.722816;115.994204, 22.762358;116.023492, 22.773639;116.136914, 22.792705;116.17977, 22.816348;116.235441, 22.855737;116.276303, 22.879787;116.292907, 22.885204;116.314476, 22.889827;116.340966, 22.889504;116.394657, 22.867737;116.422999, 22.860846;116.489348, 22.865257;116.516514, 22.8744;116.544763, 22.892778;116.579976, 22.923448;116.60047, 22.934248;116.624826, 22.954694;116.623827, 22.996685;116.609233, 23.109758;116.609225, 23.118548;116.615061, 23.127445;116.642367, 23.145425;116.690439, 23.144932;116.700249, 23.147784;116.734466, 23.173533;116.755908, 23.180722;116.779362, 23.18509;116.834112, 23.187344;116.848702, 23.196294;116.855503, 23.208127;116.858405, 23.223803;116.852558, 23.241289;116.837, 23.252813;116.822386, 23.272338;116.813624, 23.299782;116.814609, 23.314423;116.826326, 23.327034;116.911085, 23.364485;117.032525, 23.369591;117.071819, 23.332159;117.109852, 23.302471;117.135216, 23.295705;117.168474, 23.281456;117.200648, 23.260822;117.234695, 23.226153;117.245438, 23.207653;117.257171, 23.198314;117.315964, 23.199709;117.340354, 23.211858;117.357916, 23.226789;117.365721, 23.251259;117.363783, 23.285449;117.350128, 23.31071;117.246394, 23.382513;117.225956, 23.413609;117.205539, 23.469932;117.201318, 23.554901";
		long currTime = System.currentTimeMillis();
		String[] strs = str.split(";");
		for(int i=0;i<strs.length;i++){
			String p = strs[i];
			if(p.length()<=2){
				continue;
			}
			String ps[] = p.split(",");
			MapPoint point = new MapPoint(ps[0].trim(),ps[1].trim());
			mapPointList.add(point);
		}
		MapPoint frist = MapUtil.getCenterPoint(mapPointList);
		List<MapPoint> plp = new ArrayList<MapPoint>();
		for(int x=1;x<10000;x++){
				for(int y=1;y<10000;y++){
				//4个方向的4个点
				MapPoint temp1 = new MapPoint(frist.x+(0.02)*x,frist.y+(0.02)*y);
				MapPoint temp2 = new MapPoint(frist.x-(0.02)*x,frist.y+(0.02)*y);
				MapPoint temp3 = new MapPoint(frist.x+(0.02)*x,frist.y-(0.02)*y);
				MapPoint temp4 = new MapPoint(frist.x-(0.02)*x,frist.y-(0.02)*y);
				if(MapUtil.isPointInPolygon(temp1,mapPointList)){
					plp.add(temp1);
				}
				if(MapUtil.isPointInPolygon(temp2,mapPointList)){
					plp.add(temp2);
				}
				if(MapUtil.isPointInPolygon(temp3,mapPointList)){
					plp.add(temp3);
				}
				if(MapUtil.isPointInPolygon(temp4,mapPointList)){
					plp.add(temp4);
				}
				if(plp.size()>90){
					System.out.println("x:"+x+",y:"+y);
					List<MapPoint> listg = MapUtil.GpsToBaiduByUrl(plp);
					//判断转换的点是否正确，如果不正确，则重新加入队列。如果正确则更新到数据库中
					if(listg==null || listg.size()!=plp.size()){
						System.out.println("点转换错误，返回总数不对");
						listg = MapUtil.GpsToBaiduByUrl(plp);
						if(listg==null ||  listg.size()!=plp.size()){
							plp.clear();
							continue;
						}
					}
					java.text.SimpleDateFormat sf = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
					String nowstr = sf.format(new Date());
					MapPoint pb0 = listg.get(0);
					MapPoint pg0 = plp.get(0);
					for(int i=0;i<listg.size();i++){
						MapPoint pb = listg.get(i);
						MapPoint pg = plp.get(i);
						MapPoint tpb = MapUtil.translate(pg,pg0,pb0);
						//判断计算出来的百度的点和转换的百度的点的差距，如果差距超过1000米，则使用计算的点
						double len = MapUtil.point_len2(pb,tpb);
						if(len>1000){
							System.out.println("百度地图接口转换点出现偏差："+len);
						}else{
							//存储到数据库中
							MapPointChange pc = new MapPointChange();
							pc.setCreatetime(nowstr);
							pc.setBatch(currTime+"");
							pc.setBlat(pb.lat);
							pc.setBlng(pb.lng);
							pc.setGlat(pg.lat);
							pc.setGlng(pg.lng);
							mappointchangeService.save(pc);
							//System.out.println(pc);
						}
					}
					plp.clear();
				}
			}
		}
		return null;
	}
	
}
